<?php 
/*
* QuestionareDTO impolementations
*/
class QuestionareDTO{
	
	private $emailAdress;	
	private $userName;
	private $additionalInfo;
	private $questionAnswers;
	
	public function __construct(){
		$this->$questionAnswers = array("question_0" => 0,
						"question_1" => 0,
						"question_2" => 0,
						"question_3" => 0,
						"question_4" => 0,
						"question_5" => 0,
						"question_6" => 0,
						"question_7" => 0,
						"question_8" => 0,	
						"question_9" => 0);
	}		

	public function SetEmailAdress($value){
		$this->emailAdress = $value;
	}
	public function GetEmailAdress(){
		return $this->emailAdress;
	}

	public function SetUserName($value){
		$this->userName = $value;
	}
	public function GetUserName(){
		return $this->userName;
	}

	public function SetAdditionalInfo($value){
		$this->additionalInfo = $value;
	}
	public function GetAdditionalInfo(){
		return $this->additionalInfo;
	}

	public function SetQuestionAnswer($question,$answer){
		if(array_key_exists($question,$this->questionAnswers))
			$this->questionAnswers[$question] = $answer;
	}
}
?>
